package com.micro.turtle.util;

import cn.hutool.core.util.ArrayUtil;

/**
 * @author jason.lv
 * @since 2022/1/21 16:48
 */
public class Log {

    public static void info(String msg, Object... params) {
        if (ArrayUtil.isNotEmpty(params)) {
            msg = String.format(msg, params);
        }
        System.out.println(">>>>> " + msg);
    }

    public static void line(int length) {
        for (int i = 0; i < length; i++) {
            System.out.print("--");
        }
        System.out.print("\n");
    }
}
